package com.itcncp.common.rongCloud.models;

//对server sdk返回的封装
public class SdkHttpResultToken {

	private int code;
	private String userId;
	private String token;
	

	public SdkHttpResultToken(int code, String userId, String token) {
		this.code = code;
		this.userId = userId;
		this.token = token;
	}

	public int getCode() {
		return code;
	}


	public String getUserId() {
		return userId;
	}


	public String getToken() {
		return token;
	}


	@Override
	public String toString() {
		return String.format("{\"code\":\"%s\",\"userId\":%s\",\"token\":%s}", code,userId,token);
	}
}

 
